<template>
  <div class="PetAdopt">
    <div class="banner">
      <img src="@/assets/images/product/bg2.jpg" alt="" />
    </div>
    <div class="container">
      <div class="left">
        <div class="header">
          <p>联系我们</p>
          <p>让我们来谈谈问题</p>
        </div>
        <div class="tip">
          国内的狗是doiated
          dendant的狼。灭绝狼,狗来源于一个古老的和现代的灰色。国内的狗是doiated
          dendant的狼。灭绝狼,狗来源于一个古老的国内的狗是个古来源于一个古老的国个古来源于一个古老的，国个古老的国狗来源于一个古老的
        </div>
        <div class="contact_form">
          <div>
            <span>您的名字<i class="iconfont icon-V"></i></span>
            <input type="text" />
          </div>
          <div>
            <span>您的邮箱<i class="iconfont icon-V"></i></span>
            <input type="text" />
          </div>
          <div>
            <span>写下您的留言<i class="iconfont icon-V"></i></span>
            <el-input
              type="textarea"
              placeholder="请输入内容"
              v-model="textarea"
              maxlength="400"
              show-word-limit
            >
            </el-input>
          </div>
        </div>
        <div class="agree">
          <input type="checkbox" />不要输入你的电子邮件和地址
        </div>
        <div class="submit">
          <span>立即发送</span>
          <div></div>
        </div>
      </div>
      <div class="right">
        <img src="@/assets/images/pet/contact_img.png" alt="" />
        <ul>
          <li>
            <i class="iconfont icon-daohangdizhi"></i
            ><span>广西壮族自治区贵港市平南县</span>
          </li>
          <li>
            <i class="iconfont icon-dianhuatianchong"></i
            ><span>13650456395</span>
          </li>
          <li>
            <i class="iconfont letter icon-youjian"></i
            ><span>2023403760@qq.com</span>
          </li>
        </ul>
        <div class="share">
          <i class="iconfont icon-weixin"></i>
          <i class="iconfont icon-QQ"></i>
          <i class="iconfont icon-weibo"></i>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "PetAdopt",
  data() {
    return {
      textarea: "",
    };
  },
};
</script>

<style lang="less" scoped>
.PetAdopt {
  .banner {
    img {
      width: 100%;
    }
  }
  .container {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    padding-top: 100px;
    padding-bottom: 100px;
    .left {
      flex: 65%;
      padding-right: 140px;
      box-sizing: border-box;
      .header {
        p {
          &:first-child {
            font-size: 24px;
            color: #676666;
            letter-spacing: 2px;
          }
          &:last-child {
            color: #000;
            font-size: 40px;
            font-weight: bold;
            letter-spacing: 2px;
            padding-top: 14px;
          }
        }
      }
      .tip {
        color: #676666;
        font-size: 16px;
        line-height: 28px;
        padding: 30px 0;
      }
      .contact_form {
        > div {
          display: flex;
          flex-direction: column;
          span {
            padding-bottom: 20px;
            font-weight: bold;
            color: #333;
            letter-spacing: 1px;
            i {
              font-size: 12px;
              vertical-align: 6px;
              padding-left: 4px;
              color: red;
            }
          }
          input {
            outline: none;
            height: 60px;
            border: none;
            background-color: #f5f2eb;
            border-radius: 6px;
            margin-bottom: 30px;
            padding-left: 20px;
            color: #676666;
            font-size: 14px;
          }
          & /deep/ .el-textarea__inner {
            border: none;
            background-color: #f5f2eb;
            height: 160px;
            padding: 24px;
            font-size: 14px;
            color: #676666;
          }
          & /deep/ .el-input__count {
            background-color: transparent;
            right: 12px;
            bottom: 10px;
          }
        }
      }
      .agree {
        color: #676666;
        font-size: 14px;
        line-height: 20px;
        padding-top: 20px;
        input {
          cursor: pointer;
          height: 16px;
          width: 16px;
          vertical-align: -3px;
          margin-right: 10px;
        }
      }
      .submit {
        cursor: pointer;
        width: 180px;
        height: 55px;
        color: #fff;
        font-size: 20px;
        background-color: #f04336;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        border-radius: 4px;
        margin-top: 40px;
        letter-spacing: 1px;
        position: relative;
        overflow: hidden;
        span {
          position: relative;
          z-index: 9;
        }
        &:hover div {
          top: -20px;
        }
        > div {
          position: absolute;
          height: 100px;
          width: 300px;
          background-color: #000;
          top: 70px;
          border-radius: 50%;
          transition: all 0.4s;
        }
      }
    }
    .right {
      background-color: #f5f2eb;
      flex-basis: 35%;
      padding: 30px 60px;
      box-sizing: border-box;
      border-radius: 14px;
      img {
        width: 94%;
        margin: 0 auto;
        display: block;
        padding-top: 40px;
        padding-bottom: 80px;
      }
      ul {
        li {
          padding-top: 14px;
          display: flex;
          align-items: center;
          i {
            font-size: 20px;
            color: #f04336;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: inline-block;
            line-height: 50px;
            text-align: center;
            background-color: #fff;

            box-shadow: 0px 2px 14.88px 1.12px rgb(97 83 252 / 11%);
            margin-right: 20px;
            &.letter {
              font-size: 14px;
            }
          }
          span {
            font-size: 16px;
            color: #676666;
            line-height: 20px;
          }
        }
      }
      .share {
        padding-top: 45px;
        i {
          cursor: pointer;
          width: 50px;
          height: 50px;
          display: inline-block;
          border-radius: 50%;
          font-size: 26px;
          text-align: center;
          line-height: 50px;
          color: #fff;
          margin-right: 14px;
          &:nth-of-type(1) {
            background-color: #0d844e;
          }
          &:nth-of-type(2) {
            background-color: #f04336;
          }
          &:nth-of-type(3) {
            background-color: #385594;
          }
        }
      }
    }
  }
}
</style>